from odoo import fields, models


class Floor_set(models.Model):
    _name = 'floor.set'
    _description = '楼层设置'
    # _rec_name = 'name'

    floor_order = fields.Integer(
        string='显示顺序',
        required=True,
        default=0
    )
    floor_name = fields.Char(
        '楼层名称',
        required=True
    )
